package com.example.mychat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Request {
    @TableId(type = IdType.AUTO)
    private int id;

    private int userId; //申请人id

    private int requestId; //被申请人id

    public Request() {

    }

    public Request(int userId, int requestId) {
        this.userId = userId;
        this.requestId = requestId;
    }
}
